package com.fengxing.ams.web.facade.mouble.major;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.Param;

public interface IMajorDescriptionDAO extends PagingAndSortingRepository<MajorDescriptionVO, Integer>, JpaSpecificationExecutor<MajorDescriptionVO>{

	@Query(value = "select  t from MajorDescriptionVO t where t.education = :education")
	List<MajorDescriptionVO> getMajorDescriptionByEducation(@Param("education") String education);

}
